package com.atguigu.spring.entities;

public class BookShop {

	private Integer id;
	private Book book;

	public BookShop(Integer id, Book book) {
		super();
		this.id = id;
		this.book = book;
	}

	public BookShop() {
		super();
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Book getBook() {
		return book;
	}

	public void setBook(Book book) {
		this.book = book;
	}

	@Override
	public String toString() {
		return "BookShop [id=" + id + ", book=" + book + "]";
	}

}
